package com.wish.wishhouse_foreclosure.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum HouseAllTypeEnum {

    GYFC("国有房产", 1),
    ZGFC("直管房产", 2),
    ZIGFC("自管房产", 3),
    JDFC("军队房产", 4),
    JTSY("集体所有房产", 5),
    SYFC("私有(自由)房产", 6),
    GATTZFC("港、澳、台投资房产", 7),
    SWFC("涉外房产", 8),
    QT("其它房产", 9);

    @JsonValue
    private String name;
    @EnumValue
    private Integer index;

    private HouseAllTypeEnum(String name, Integer index) {
        this.name = name;
        this.index = index;
    }
}
